How to display the parentheses and dashes in phone numbers.





In the 'Field Properties' section of the Table Design view, select the 'InputMask' property box for the phone number field, choose the 'Build' button, and follow the instructions for the 'Input Mask Wizard'.

    1) If the Database window is not active, activate the Database window.
    2) Open the table in the Table Design view.
    3) Select the phone number field.
    4) Move to the 'Field Properties' section.
    < Field Properties section >
    5) Choose the 'General' tab.
    6) Click in the 'Input Mask' property box. (The Build button, with '...' on it, appears next to the property box.)
    7) Choose the 'Build' button. (The Input Mask Wizard dialog box appears.)
    < Build button >
    8) Select 'Phone Number' from the 'Input Mask' list box.
    NOTE: The 'Input Mask' list displays the names of the possible input masks to choose from, and the 'Data Look' list shows how each causes data to look.
    < Input Mask >
    9) (Optional) To test how the 'Phone Number' input mask works:

      a) Click in the beginning of the 'Try It' box. (The selected mask appears.)
      b) Enter the phone number, numbers only. (The parentheses and dashes appear automatically.)

    10) Choose the 'Next' button.
    11) (Optional) To alter the 'Phone Number' input mask, make the desired changes in the 'Input Mask' box.
    < Input Mask box >
    12) (Optional) Select a different placeholder from the 'Placeholder character' box.
    < Placeholder >
    NOTE: A placeholder character is the character that appears BEFORE data is entered.
    EXAMPLES: In the input mask '(___)___-____', the '_' (underscore) is the placeholder. In the input mask '(###)###-####', the '#' is the placeholder.
    13) (Optional) To test how the altered 'Phone Number' input mask works:

      a) Click in the beginning of the 'Try It' box. (The mask appears.)
      b) Enter the phone number, numbers only.

    14) Choose the 'Next' button.
    15) Select the button for how to store the data.
    < How to store data >
    16) Choose the 'Next' button.
    17) Choose the 'Finish' button. (The Phone Number input mask appears in the Input Mask property box of the Field Properties section in the Table Design view. From now on, when a phone number is entered in that field, the parentheses and dashes will appear automatically.)


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.